﻿using System.Web.Mvc;

namespace BSU.GraduateWork.Web.Controls.Menu
{
    public static class MenuExtensions
    {
        public static GraduateWork.Web.Controls.Menu.Menu Menu(this HtmlHelper helper, string siteMapProvider)
        {
            return new GraduateWork.Web.Controls.Menu.Menu(helper.ViewContext, siteMapProvider);
        }
        public static GraduateWork.Web.Controls.Menu.Menu Menu(this HtmlHelper helper, string siteMapProvider, string menuCssClass, string activeNodeCssClass)
        {
            return new GraduateWork.Web.Controls.Menu.Menu(helper.ViewContext, siteMapProvider, menuCssClass, activeNodeCssClass);
        }
    }
}